package com.jk.admin.mapper;

import com.jk.admin.pojo.Adminpojo;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface AdminRepo  extends JpaRepository<Adminpojo,Integer>{

    @Override
    List<Adminpojo> findAll();

    Adminpojo findAdminpojoByUsername(String userName);


}
